package com.ecoolex.discount.sales.ws;

import com.ecoolex.discount.sales.entity.DiscountOrder;
import com.ecoolex.framework.common.exception.BizException;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface PaymentOrderService {
    Map weiXinPayApply(DiscountOrder order, String appId, String ipAdress, String createUser) throws BizException;

    String orderNotify(String body, String createUser);

    String refundNotify(String body, String createUser);
    
    String nihaoPayApply(Integer nihaoPayType,DiscountOrder order,HttpServletRequest req, HttpServletResponse resp, String createUser) throws BizException;

    void nihaoPayOrderNotify(HttpServletRequest req, HttpServletResponse response, String createUser)  throws Exception ;

}
